<template>
  <div>{{state.name}}</div>
</template>

<script setup>
import { reactive, ref, toRefs } from 'vue';
import { useRoute } from 'vue-router';

let state = reactive({
  name:"",
})

let route = useRoute()
state.name = route.query.name

</script>
<style scoped lang ='less'>
</style>